package cn.bld.mapper;

import cn.bld.entity.StorageRecord;
import cn.bld.entity.SysRole;
import cn.bld.entity.SysSupplier;
import cn.bld.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysSupplierMapper {
    public List<SysRole> findall();
    public Integer findCount(@Param("supCode") String supCode , @Param("supName") String supName );
    public List<SysSupplier> findByCondition(@Param("supCode") String supCode , @Param("supName") String supName, @Param("offset") Integer offset, @Param("size") Integer size);
    public int insertSupplier(SysSupplier sysSupplier);
    public int checkSupCode(String supCode);
    public int deleteSupplier(Integer supId);
    public SysSupplier findById(@Param("id")Integer id);
    public int updateSupplier(SysSupplier sysSupplier);


}
